package 酒店管理系统模拟.test01;
import java.util.Scanner;
public class Import {
    private int storey;
    private int roomNumber;
    Scanner s = new Scanner(System.in);

    public int getStorey() {
        return storey;
    }

    public void setStorey(int storey) {
            this.storey = storey;

    }

    public int getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(int roomNumber) {
            this.roomNumber = roomNumber;

    }

    public void input(){
        System.out.print("请输入楼层: ");
        this.setStorey(s.nextInt());
        System.out.print("请输入房间号: ");
        this.setRoomNumber(s.nextInt());
    }
}
